package org.j5108.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * Usersinfo entity. @author MyEclipse Persistence Tools
 */

public class Usersinfo implements java.io.Serializable {

	// Fields

	private Integer usersid;
	private String usersname;
	private String userspwd;
	private Set newsinfos = new HashSet(0);

	// Constructors

	/** default constructor */
	public Usersinfo() {
	}

	/** minimal constructor */
	public Usersinfo(String usersname, String userspwd) {
		this.usersname = usersname;
		this.userspwd = userspwd;
	}

	/** full constructor */
	public Usersinfo(String usersname, String userspwd, Set newsinfos) {
		this.usersname = usersname;
		this.userspwd = userspwd;
		this.newsinfos = newsinfos;
	}

	// Property accessors

	public Integer getUsersid() {
		return this.usersid;
	}

	public void setUsersid(Integer usersid) {
		this.usersid = usersid;
	}

	public String getUsersname() {
		return this.usersname;
	}

	public void setUsersname(String usersname) {
		this.usersname = usersname;
	}

	public String getUserspwd() {
		return this.userspwd;
	}

	public void setUserspwd(String userspwd) {
		this.userspwd = userspwd;
	}

	public Set getNewsinfos() {
		return this.newsinfos;
	}

	public void setNewsinfos(Set newsinfos) {
		this.newsinfos = newsinfos;
	}

}